<#-- 导入模版定义文件-->
<#include "../template/template_editPage.ftl">
<@edit title="商品信息详情">
<body class="input">


	<div class="body">
		<div class="inputBar">
			<h1><span class="icon">&nbsp;</span>商品信息详情</h1>
		</div>
		<form id="inputForm" class="validate">
			<ul class="tab">
				<li>
					<input type="button" value="基本信息" hidefocus="true" />
				</li>
			</ul>
			<table class="inputTable tabContent">
			
					<tr>
					<th>
						商品编号:
					</th>
					<td>
						<input type="text" name="goods.goodsId" class="formText" value="${(goods.goodsId)!}" readonly="readonly"/>
					</td>
				</tr>
					<tr>
					<th>
						商品名称：
					</th>
					<td>
						<input type="text" name="goods.goodsName" class="formText" value="${(goods.goodsName)!}" readonly="readonly"/>
					</td>
				</tr>
                <tr>
                    <th>
                        品牌编号:
                    </th>
                    <td>
                        <input type="text" name="goods.goodsCategoryId" class="formText" value="${(goods.goodsCategoryId)!}" readonly="readonly"/>
                    </td>
                </tr>
                <tr>
                    <th>
                        商品品牌名称:
                    </th>
                    <td>
                        <input type="text" name="goods.brandName" class="formText" value="${(goods.brandName)!}" readonly="readonly"/>
                    </td>
                </tr>
				<tr>
					<th>
						默认售价(元)：
					</th>
					<td>
						<input type="text" name="goods.commonSalePrice" class="formText" value="${(goods.commonSalePrice*1.0/1000)?string("0.000")}" readonly="readonly"/>
					</td>
				</tr>
                <#if goods.goodsMoney?? && goods.goodsMoney =0>
                <#else >
                    <tr>
                        <th>
                            商品面值：(元)
                        </th>
                        <td>
                            <input type="text" name="goods.goodsMoney" class="formText" value="${(goods.goodsMoney*1.0/1000)?string("0.000")}" readonly="readonly"/>
                        </td>
                    </tr>
                </#if>
                <tr>
                    <th>
                        热度：
                    </th>
                    <td>
                        <select name="goods.heat" disabled="disabled">
                            <option value="">请选择...</option>
                            <option value=2
                                    <#if goods?? && goods.heat?? && goods.heat==2>selected="selected"</#if>>
                                热门
                            </option>
                            <option value=1
                                    <#if goods?? && goods.heat?? && goods.heat==1>selected="selected"</#if>>
                                一般
                            </option>
                        </select>
                    </td>
                </tr>
				<tr>
					<th>
						商品状态：
					</th>
					<td>
						<select name="goods.goodsState" class="formText" disabled="disabled">
								<option value="">请选择...</option>
								<option value="0" <#if goods.goodsState?? && goods.goodsState=="0">selected="selected"</#if>>
									下架
								</option>
								<option value="1" <#if goods.goodsState?? && goods.goodsState=="1">selected="selected"</#if>>
									上架
								</option>
						 </select>
					</td>
				</tr>
				<tr>
					<th>
						充值方式：
					</th>
					<td>
						<select name="goods.rechargeMode" class="formText" disabled="disabled">
								<option value="">请选择...</option>
								<option value="2" <#if goods.rechargeMode?? && goods.rechargeMode=="2">selected="selected"</#if>>
									直充
								</option>
								<option value="1" <#if goods.rechargeMode?? && goods.rechargeMode=="1">selected="selected"</#if>>
									卡充
								</option>
						 </select>
					</td>
				</tr>
				<tr>
					<th>
						是否启用：
					</th>
					<td>
						
						<select name="goods.enable" class="formText" disabled="disabled">
								<option value="">请选择...</option>
								<option value="1" <#if goods.enable?? && goods.enable=="1">selected="selected"</#if>>
									启用
								</option>
								<option value="0" <#if goods.enable?? && goods.enable=="0">selected="selected"</#if>>
									禁用
								</option>
						 </select>
					</td>
				</tr>
				<tr>
					<th>
						可充值数量：
					</th>
					<td>
						<input type="text" name="goods.numLimit" class="formText {required: true}" value="${(goods.numLimit)!}" readonly="readonly"/>
					</td>
				</tr>
                <tr>
                    <th>
                        操作员账号:
                    </th>
                    <td>
                        <input type="text" name="goods.operator" class="formText" value="${(goods.operator)!}" readonly="readonly"/>
                    </td>
                </tr>
                <tr>
                    <th>
                        记录插入时间:
                    </th>
                    <td>
                        <input type="text" name="goods.insertTime" class="formText" value="${(goods.insertTime)!}" readonly="readonly"/>
                    </td>
                </tr>
                <tr>
                    <th>
                        记录修改时间:
                    </th>
                    <td>
                        <input type="text" name="goods.modifyTime" class="formText" value="${(goods.modifyTime)!}" readonly="readonly"/>
                    </td>
                </tr>
				<tr>
					<th>
						商品描述：
					</th>
					<td>
						<textarea name="goods.goodsDescription" class="formTextarea" readonly="readonly">${(goods.goodsDescription)!}</textarea>
					</td>
				</tr>
				<tr>
					<th>
						游戏说明：
					</th>
					<td>
						<textarea name="goods.stateMent" class="formTextarea" readonly="readonly">${(goods.stateMent)!}</textarea>
					</td>
				</tr>
				<tr>
					<th>
						备注：
					</th>
					<td>
						<textarea name="goods.remark" class="formTextarea" readonly="readonly">${(goods.remark)!}</textarea>
					</td>
				</tr>
			</table>
			<div class="buttonArea">
				<input type="button" class="formButton" onclick="window.history.back(); return false;" value="返  回" hidefocus="true" />
			</div>
		</form>
	</div>
</body>
</@edit>
